package com.alks.entity.data.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author:xxxxx
 * @create: 2023-06-26 10:24
 * @Description: 订单明细
 */
@Getter
@Setter
@NoArgsConstructor
@EqualsAndHashCode
@HeadRowHeight(20)
public class PcOrderDetail {
    @ApiModelProperty("下单日期")
    @TableField("ORDER_DATE")
    @ColumnWidth(15)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @ExcelProperty("下单日期")
    @DateTimeFormat("yyyy/MM/dd")
    private Date orderDate;
    @ApiModelProperty("品牌")
    @TableField("BRAND")
    @ExcelProperty("品牌")
    @ColumnWidth(10)
    private String brand;
    @ApiModelProperty("指令号")
    @TableField("ORDER_ID")
    @ExcelProperty("指令号")
    @ColumnWidth(20)
    private String lotNo;
    @ApiModelProperty("款名/纸板号")
    @TableField("SHOE_NAME")
    @ExcelProperty("纸板号")
    @ColumnWidth(20)
    private String shoeName;
    @ApiModelProperty("工厂货号")
    @TableField("STYLE")
    @ExcelProperty("工厂货号")
    @ColumnWidth(5)
    private String style;
    @ApiModelProperty("客户货号")
    @TableField("CUST_STYLE")
    @ExcelProperty("客户货号")
    private String custSTYLE;
    @ApiModelProperty("颜色")
    @TableField("COLOR")
    @ExcelProperty("颜色")
    private String color;
    @ApiModelProperty("号码")
    @TableField("SIZE_NO")
    @ExcelProperty("号码")
    private String sizeNO;
    @ApiModelProperty("面衬")
    @TableField("SOCK_NO")
    @ExcelProperty("面衬")
    private String sockNo;
    @ApiModelProperty("楦头")
    @TableField("LAST_NO")
    @ExcelProperty("楦头")
    private String lastNo;
    @ApiModelProperty("大底")
    @TableField("MOLD_NO")
    @ExcelProperty("大底")
    private String moldNo;
    @ApiModelProperty("样品类型")
    @TableField("SAMPLE_TYPE")
    @ExcelProperty("样品类型")
    private String sampleType;
    @ApiModelProperty("季节")
    @TableField("SEASON_TYPE")
    @ExcelProperty("季节")
    private String seasonType;
    @ApiModelProperty("客户交期")
    @TableField("DELIVERY_DATE")
    @ExcelProperty("客户交期")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat("yyyy/MM/dd")
    @ColumnWidth(20)
    private Date deliveryDate;
    @ApiModelProperty("出货日期")
    @TableField("CLOSE_DATE")
    @ExcelProperty("出货日期")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat("yyyy/MM/dd")
    @ColumnWidth(20)
    private Date closeDate;
    @ApiModelProperty("数量")
    @TableField("ORDER_QTY")
    @ExcelProperty("数量")
    @ColumnWidth(3)
    private BigDecimal orderQty;
    private String photoPath;
}
